package com.curso.sesion7.contructores;

public class Fhather {
	
	
	protected String name;
	
	private static Byte responsabilitylevel;
	
	static {
		System.out.println("bloque de inializacion estatico");
		if(responsabilitylevel == null){
			responsabilitylevel =1;
			
		}
		
	}
	
	{
		System.out.println("bloque de inializacion");
		if (name == null){
			name ="defaul name";
		}
	}


	public Fhather(){

		System.out.println("constructor del father");
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Fhather [name=" + name + "]";
	}
}
